import { Module } from '@nestjs/common';
import { Role_Service } from './role.service';
import { Role_Controller } from './role.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Role } from './assets/role.entity';
import { Menu } from '../menu/assets/menu.entity';
import { UserAdmin_Module } from '../userAdmin/userAdmin.module';

@Module({
  imports: [UserAdmin_Module, TypeOrmModule.forFeature([Role, Menu])],
  controllers: [Role_Controller],
  providers: [Role_Service],
  exports: [Role_Service],
})
export class Role_Module {}
